import random

def newint():
    sign = ['+','-','x','/']
    num = random.randint(0,3)
    n1 = random.randint(1,20)
    n2 = random.randint(1,20)
    if num == 0:
        ans = n1 + n2
    elif num == 1:
        n1,n2 = max(n1,n2),min(n1,n2)
        ans = n1 - n2
    elif num == 2:
        ans = n1 * n2
    elif num == 3:
        while n1 % n2 != 0:
            n1 = random.randint(1,20)
            n2 = random.randint(1,20)
            n1,n2 = max(n1,n2),min(n1,n2)
        ans = n1 / n2
    print(n1,sign[num],n2,'=')
    return ans
    

def main2():
    ans = newint()
    current = input()
    if current == 'q' or current == 'Q':
        return False
    if int(current) == ans:
        print('-----------------正确-----------------')
        print('继续战斗')
        return 'True'        
    else:
        print('-----------------错误-----------------')
        print('这都不会！！！该好好背单词了')
        return 'False'



    
